package com.sgb.link.entity;

import java.io.Serializable;

/**
 * @author: qh
 * @date: 2020/10/26
 */
public class SingleTalkingEntity implements Serializable {
    private String cmdType;
    private fromAccount fromAccount;
    private toAccount toAccount;
    private payLoad payLoad;

    public String getCmdType() {
        return cmdType;
    }

    public void setCmdType(String cmdType) {
        this.cmdType = cmdType;
    }

    public SingleTalkingEntity.fromAccount getFromAccount() {
        return fromAccount;
    }

    public void setFromAccount(SingleTalkingEntity.fromAccount fromAccount) {
        this.fromAccount = fromAccount;
    }

    public SingleTalkingEntity.toAccount getToAccount() {
        return toAccount;
    }

    public void setToAccount(SingleTalkingEntity.toAccount toAccount) {
        this.toAccount = toAccount;
    }

    public SingleTalkingEntity.payLoad getPayLoad() {
        return payLoad;
    }

    public void setPayLoad(SingleTalkingEntity.payLoad payLoad) {
        this.payLoad = payLoad;
    }

    public static class fromAccount{
        private String accountId;

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }
    }
    public static class toAccount{
        private String accountId;

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }
    }
    public static class payLoad{
        private String type;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
